<?
require_once("conn.php");
?>
<a href="#" onclick="newUser()">Add</a><br><br>
<table width="300" border="1">
	<tr>
		<th>Username</th>
		<th>&nbsp;</th>
	</tr>

	<?
		$sql = "SELECT id,username FROM member WHERE groups='13' OR groups='1' ORDER BY id;";
		$query = mysql_query($sql);
		while($row = mysql_fetch_array($query)){
		?>
			<tr>
				<td><?=$row["username"]?></td>
				<td align="center"><a href="#" onclick="editUser('<?=$row["id"]?>')">Edit</a> | <a href="#" onclick="delUser('<?=$row["id"]?>')">Del</a></td>
			</tr>
		<?
		}
	?>
</table>
<div id="showAccess"></div>